//
//  CollectionReusableView.m
//  海角音乐
//
//  Created by dllo on 15/8/19.
//  Copyright (c) 2015年 杨元石. All rights reserved.
//

#import "CollectionReusableView.h"
#import "DEFINE.h"
@implementation CollectionReusableView

- (void)dealloc
{
    [_diLabel release];
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    [super initWithFrame:frame];
    if (self) {
        self.diLabel = [[UILabel alloc] init];
        self.diLabel.font = [UIFont boldSystemFontOfSize:15];
        [self addSubview:self.diLabel];
    }
    return self;
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    self.diLabel.frame = CGRectMake(SCREEN_WIDTH * 0.02667, SCREEN_HEIGHT * 0.0375, SCREEN_WIDTH * 0.2667, SCREEN_HEIGHT * 0.03);
    self.diLabel.textColor = [UIColor whiteColor];
    
}


@end
